package com.okbihuo.perm.modules.user.rest;

import com.okbihuo.perm.core.mp.base.MyController;
import com.okbihuo.perm.core.mp.base.MyService;
import com.okbihuo.perm.mod.user.domain.AuthPermission;
import com.okbihuo.perm.mod.user.service.IAuthPermissionService;
import io.swagger.annotations.Api;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;


@RestController
@RequestMapping("user/permission")
@RequiredArgsConstructor
@Api(value = "权限管理接口", tags = "用户管理")
public class PermissionRest extends MyController<AuthPermission> {

    private final IAuthPermissionService authPermissionService;

    @Override
    protected MyService<AuthPermission> getService() {
        return authPermissionService;
    }


}
